﻿<Window x:Class="Script.Components.TestPad"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:metro="http://schemas.codeplex.com/elysium"
              xmlns:params="http://schemas.codeplex.com/elysium/params"
        Title="TestPad" Height="541" Width="864">
    <Grid Width="350" Height="250">
        <Rectangle Fill="{StaticResource HighlightBrush}" Grid.ColumnSpan="2" />
        <Rectangle Fill="{x:Static metro:AccentBrushes.Orange}" Height="4" VerticalAlignment="Top" Grid.ColumnSpan="2"/>
        <TextBlock Text="{Binding DisplayName}" Foreground="{StaticResource ForegroundBrush}" Style="{StaticResource HeadingOneStyle}" Margin="5,5,0,0" VerticalAlignment="Top" Grid.ColumnSpan="2"/>
        <ScrollViewer Margin="5,35,5,41" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{DynamicResource ForegroundBrush}" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
            <TextBlock FontFamily="Courier New" TextWrapping="Wrap" Text="{Binding Description}" />
        </ScrollViewer>
        <Button Name="btnEdit" Tag="{Binding}" Grid.Column="1" Content="Edit" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="5,10,10,5" Width="90"/>
    </Grid>
</Window>
